package com.chicken.vo;

/**
 * @author zewei.wang
 * @date 2018/4/4.
 */
public class BaseResponseVO {
    private Integer code;
    private Integer count;
    private String msg;
    private String status;
    private String message;
    private Object data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public void setSucced(){
        this.status = "1";
        this.code = 0;
        this.msg = "";
        this.message="ok";
    }

    public void setError(){
        this.status = "0";
        this.message="error";
    }
}
